package common.bean;


import java.io.Serializable;

/**
 * @author Zhaoluowei
 * @version 1.0
 * @date 2019/4/9 17:58
 */

public class UserAddress implements Serializable {
    private Integer id;
    private String userAdress;
    private String userId;
    private String accept;
    private String phoneNum;
    private String isDefault;

    public UserAddress() {
    }

    public UserAddress(Integer id, String userAdress, String userId, String accept, String phoneNum, String isDefault) {
        this.id = id;
        this.userAdress = userAdress;
        this.userId = userId;
        this.accept = accept;
        this.phoneNum = phoneNum;
        this.isDefault = isDefault;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserAdress() {
        return userAdress;
    }

    public void setUserAdress(String userAdress) {
        this.userAdress = userAdress;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccept() {
        return accept;
    }

    public void setAccept(String accept) {
        this.accept = accept;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    @Override
    public String toString() {
        return "UserAddress{" +
                "id=" + id +
                ", userAdress='" + userAdress + '\'' +
                ", userId='" + userId + '\'' +
                ", accept='" + accept + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", isDefault='" + isDefault + '\'' +
                '}';
    }
}
